<?php
namespace app\kucun\controller;

use app\data\controller\shop\Cate;
use app\kucun\model\CategoryModel;
use app\kucun\model\ShopModel;
use app\kucun\model\WxWorkUserModel;
use QiyeWork\QiyeWorkService;

/**
 * Class Index
 * @package app\index\controller
 */
class Config extends Base
{

    public function getConfig(){
        $result = [];
        $result['category'] = (new CategoryModel())->where(['status' => 1])->select();
        $result['shop'] = (new ShopModel())->where(['status' => 1])->select();
        return $this->returnSuccess($result);
    }




}